package org.seedltd.upms.enums;

import org.seedltd.core.base.BaseTagEnum;

/**
 * 启禁用状态
 *
 * @author laizuan
 * @version 1.0
 * @since 2020/7/23 22:57
 */
public enum EnableStatus implements BaseTagEnum<Integer> {
    // @formatter:off
    ENABLE(1, "启用","success"),
    DISABLE(0, "禁用", "danger");
    // @formatter on
    private final Integer value;
    private final String desc;
    private final String tagType;

    EnableStatus(Integer value, String desc, String tagType) {
        this.value = value;
        this.desc = desc;
        this.tagType = tagType;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }
    
    @Override
    public String getTagType() {
        return tagType;
        }
}
